define([
    'angular',
    'clipboard'
], function(angular, Clipboard) {
    window['Clipboard'] = Clipboard;

    var directive = angular.module('app.directive', []);

    directive.config(function() {

    });
    
    directive.directive('autofocus', function() {
        return {
            restrict: 'A',
            link: function(scope, element) {
                element[0].focus();
            }
        };
    });

    return directive;
});
